Looking Inside Memory Tooling for tracing memory reference patterns

نویسندگان

  • Ankita Garg
  • Balbir Singh
  • Vaidyanathan Srinivasan
چکیده

Memory is a critical resource that is non-renewable and is time consuming to regenerate by reclaim. While there are several tools available to understand the amount of memory utilized by an application, there is presently little infrastructure to capture the physical memory reference pattern of an application on a live system. This knowledge would enable the software developers and hardware designers to not only understand the amount of memory used, but also the way the references are laid out across RAM. The temporal and spatial reference patterns can provide new insights into the benchmark characteristics, which would enable memory related optimizations. Additional tools could be developed on top to extract useful data from the reference information. For example, a tool to understand the working set size of an application, and how it varies with time. The data could also be used to optimize the application for NUMA systems. Kernel developers could use the data to check fragmentation and generic data placement issues. In this paper, we introduce a memory reference instrumentation infrastructure in the Linux kernel that is built as a kernel module, on top of the trace framework. It works by collecting memory reference samples from page table entries at regular intervals. The data obtained is then post processed to plot various graphs for visualization. In this paper, we would provide information on the design and implementation of this instrumentation, along with the challenges faced by such a generic memory instrumentation infrastructure. We will demonstrate few additional tools built on this infrastructure to obtain interesting data collected from several benchmarks. The target audience are people interested in kernel based instrumentation, application developers and performance tuning enthusiasts.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

مطالعه حافظه کاری و مرجع فضایی در مدل‌ تجربی بیماری مالتیپل اسکلروزیس پس از درمان با ویتامین D3

Background: The hippocampus, a vital center for learning and memory, is extremely vulnerable to neurological diseases.Several reports of cognitive and memory impairment have been published in patients with Multiple sclerosis (MS). The prevalence of MS is highest where environmental supply of vitamin D is low. In the present study spatial working memory and reference memory after treatment with ...

متن کامل

Tracing ischemic memory by metabolic pathways: BMIPP and beyond

Myocardial ischemia (MI) resulting in infarction is an important cause of mortality and morbidity worldwide. Acute ischaemia rapidly impairs myocardial contractile function. Myocardial dysfunction persisting for several hours after transient non-lethal ischaemia, eventually resulting in full functional recovery is termed as myocardial stunning. Hibernation is now thought to be...

متن کامل

Interaction of sensory experience and age in spatial memory performances

During a critical period of postnatal age sensory experience has a profound effect on maturation of visual cortical wiring. Electrophysiological evidence is indicating a substantial effect of visual deprivation on the visual cortical response properties. In this study we evaluated effect of light deprivation during a limited time of postnatal age on two aspects of spatial (working and reference...

متن کامل

Interaction of sensory experience and age in spatial memory performances

During a critical period of postnatal age sensory experience has a profound effect on maturation of visual cortical wiring. Electrophysiological evidence is indicating a substantial effect of visual deprivation on the visual cortical response properties. In this study we evaluated effect of light deprivation during a limited time of postnatal age on two aspects of spatial (working and reference...

متن کامل

Looking at Nothing Indicates Memory Search in Multiattribute Decision Making

The common methods for studying heuristics in memorybased multiattribute decisions provide outcome and response time data but leave the foregoing cognitive processes in the dark. We demonstrate a novel process-tracing method that uses the looking-at-nothing phenomenon to study memory search and cue processing via eye tracking. Participants learned cue information of decision alternatives in spa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010